package com.rms.server.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(name = "IngredientStockChange", description = "记录 ingredient 库存变更的数据传输对象")
public class IngredientStockChange {
    @Schema(description = "原材料的唯一标识符")
    private Long ingredientId;
    @Schema(description = "原材料的名称")
    private String ingredientName;
    @Schema(description = "原材料的单位（如：kg、个、瓶）")
    private BigDecimal stockBefore;
    @Schema(description = "原材料的原始库存数量")
    private BigDecimal stockAfter;
    @Schema(description = "原材料的库存变更数量")
    private BigDecimal quantityUsed;
}
